﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000599 RID: 1433
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishFirstTalkByPerformanceNpcCsReq : IMessage<FinishFirstTalkByPerformanceNpcCsReq>, IMessage, IEquatable<FinishFirstTalkByPerformanceNpcCsReq>, IDeepCloneable<FinishFirstTalkByPerformanceNpcCsReq>, IBufferMessage
	{
		// Token: 0x17001262 RID: 4706
		// (get) Token: 0x0600406C RID: 16492 RVA: 0x000B083D File Offset: 0x000AEA3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishFirstTalkByPerformanceNpcCsReq> Parser
		{
			get
			{
				return FinishFirstTalkByPerformanceNpcCsReq._parser;
			}
		}

		// Token: 0x17001263 RID: 4707
		// (get) Token: 0x0600406D RID: 16493 RVA: 0x000B0844 File Offset: 0x000AEA44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishFirstTalkByPerformanceNpcCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001264 RID: 4708
		// (get) Token: 0x0600406E RID: 16494 RVA: 0x000B0856 File Offset: 0x000AEA56
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishFirstTalkByPerformanceNpcCsReq.Descriptor;
			}
		}

		// Token: 0x0600406F RID: 16495 RVA: 0x000B085D File Offset: 0x000AEA5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishFirstTalkByPerformanceNpcCsReq()
		{
		}

		// Token: 0x06004070 RID: 16496 RVA: 0x000B0865 File Offset: 0x000AEA65
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishFirstTalkByPerformanceNpcCsReq(FinishFirstTalkByPerformanceNpcCsReq other) : this()
		{
			this.performanceId_ = other.performanceId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06004071 RID: 16497 RVA: 0x000B088A File Offset: 0x000AEA8A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishFirstTalkByPerformanceNpcCsReq Clone()
		{
			return new FinishFirstTalkByPerformanceNpcCsReq(this);
		}

		// Token: 0x17001265 RID: 4709
		// (get) Token: 0x06004072 RID: 16498 RVA: 0x000B0892 File Offset: 0x000AEA92
		// (set) Token: 0x06004073 RID: 16499 RVA: 0x000B089A File Offset: 0x000AEA9A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PerformanceId
		{
			get
			{
				return this.performanceId_;
			}
			set
			{
				this.performanceId_ = value;
			}
		}

		// Token: 0x06004074 RID: 16500 RVA: 0x000B08A3 File Offset: 0x000AEAA3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishFirstTalkByPerformanceNpcCsReq);
		}

		// Token: 0x06004075 RID: 16501 RVA: 0x000B08B1 File Offset: 0x000AEAB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishFirstTalkByPerformanceNpcCsReq other)
		{
			return other != null && (other == this || (this.PerformanceId == other.PerformanceId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004076 RID: 16502 RVA: 0x000B08E0 File Offset: 0x000AEAE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PerformanceId != 0U)
			{
				num ^= this.PerformanceId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004077 RID: 16503 RVA: 0x000B091F File Offset: 0x000AEB1F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004078 RID: 16504 RVA: 0x000B0927 File Offset: 0x000AEB27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004079 RID: 16505 RVA: 0x000B0930 File Offset: 0x000AEB30
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PerformanceId != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.PerformanceId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600407A RID: 16506 RVA: 0x000B0964 File Offset: 0x000AEB64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PerformanceId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PerformanceId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600407B RID: 16507 RVA: 0x000B09A2 File Offset: 0x000AEBA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishFirstTalkByPerformanceNpcCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PerformanceId != 0U)
			{
				this.PerformanceId = other.PerformanceId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600407C RID: 16508 RVA: 0x000B09D3 File Offset: 0x000AEBD3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600407D RID: 16509 RVA: 0x000B09DC File Offset: 0x000AEBDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 120U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.PerformanceId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001969 RID: 6505
		private static readonly MessageParser<FinishFirstTalkByPerformanceNpcCsReq> _parser = new MessageParser<FinishFirstTalkByPerformanceNpcCsReq>(() => new FinishFirstTalkByPerformanceNpcCsReq());

		// Token: 0x0400196A RID: 6506
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400196B RID: 6507
		public const int PerformanceIdFieldNumber = 15;

		// Token: 0x0400196C RID: 6508
		private uint performanceId_;
	}
}
